:root {
    --primary-blue: #0056a6;
    --secondary-blue: #003d7a;
    --light-blue: #e6f2ff;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #f5f5f5;
    --white: #fff;
    --accent-orange: #ff9800;
}

body {
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Styles */
.top-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.emergency-contact {
    display: flex;
    align-items: center;
}

    .emergency-contact i {
        margin-right: 8px;
    }

.top-header-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .top-header-links li {
        margin-left: 20px;
    }

    .top-header-links a {
        color: var(--white);
        text-decoration: none;
    }

/* Main Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 16px;
    padding: 10px 15px;
    transition: color 0.3s;
    margin-left: 10px;
}

    .navbar-nav .nav-link:hover {
        color: var(--primary-blue);
    }

/* Dropdown Styles for Hover */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

.dropdown-item {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

    .dropdown-item:hover {
        background-color: var(--light-blue);
        color: var(--primary-blue);
    }

.appointment-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 05px 15px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .appointment-btn:hover {
        background-color: var(--secondary-blue);
    }

/* Breadcrumb */
.breadcrumb {
    background-color: var(--light-gray);
    padding: 15px 0;
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 0;
}

    .breadcrumb a {
        color: var(--medium-gray);
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: var(--primary-blue);
        }

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/home.png');
 
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.hospital-info {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hospital-name {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 15px;
}

.rating {
    color: var(--white);
    margin-bottom: 10px;
}

.contact-info {
    margin-bottom: 15px;
}

.phone {
    font-weight: bold;
    color: var(--white);
    margin-bottom: 10px;
    font-size: 18px;
}

.address {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 15px;
}

.get-directions {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

    .get-directions:hover {
        background-color: var(--secondary-blue);
    }

/* Search Section */
.search-section {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.search-box {
    display: flex;
    max-width: 600px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-button {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

    .search-button:hover {
        background-color: var(--secondary-blue);
    }

/* Content Sections */
.content-section {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-blue);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-blue);
}

.compliance-links,
.pricing-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

    .compliance-links a,
    .pricing-links a {
        text-decoration: none;
        color: var(--dark-gray);
        padding: 8px 0;
        transition: color 0.3s;
    }

        .compliance-links a:hover,
        .pricing-links a:hover {
            color: var(--primary-blue);
        }

.about-content {
    margin-bottom: 20px;
    line-height: 1.8;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}



.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 30px 0;
    padding: 0 10px;
}

.stat-item {
    text-align: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #cce5ff, #e6f0ff);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

    .stat-item:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(0, 123, 255, 0.35);
    }

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 64, 128, 0.3);
}

.stat-label {
    font-size: 18px;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.accreditation {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.contact-section {
    text-align: center;
    padding: 30px;
    background-color: var(--light-blue);
    border-radius: 8px;
    margin: 30px 0;
}

.contact-phone {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.advisory-notice {
    background-color: #fff8e1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-orange);
}

.advisory-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #d32f2f;
}

.advisory-content {
    font-size: 15px;
    color: var(--dark-gray);
}



.hospital-section {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f9fc;
    color: #333;
}

    .hospital-section .section-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: #0a4275;
        border-left: 6px solid #007bff;
        padding-left: 10px;
        margin-bottom: 20px;
    }

    .hospital-section .table-box,
    .hospital-section .marquee-box,
    .hospital-section .event-box {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        padding: 20px;
        height: 100%;
    }

    .hospital-section .table th,
    .hospital-section .table td {
        vertical-align: middle !important;
        font-size: 0.95rem;
    }

    .hospital-section .btn-detail {
        background-color: #0a4275;
        color: #fff;
        border: none;
        padding: 5px 10px;
        font-size: 0.85rem;
        border-radius: 5px;
        transition: 0.3s;
    }

        .hospital-section .btn-detail:hover {
            background-color: #0056b3;
        }

    .hospital-section .marquee-box {
        height: 300px;
        overflow: hidden;
        position: relative;
    }

        .hospital-section .marquee-box marquee {
            height: 100%;
            font-size: 0.95rem;
        }

    .hospital-section .event-img {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        margin-bottom: 10px;
    }

    .hospital-section .marquee-horizontal {
        overflow: hidden;
        white-space: nowrap;
        background-color: #e8f1fc;
        border-radius: 5px;
        padding: 10px;
        margin-top: 10px;
    }

        .hospital-section .marquee-horizontal span {
            display: inline-block;
            padding-left: 100%;
            animation: scroll-left 18s linear infinite;
            font-weight: 500;
            color: #0a4275;
        }

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


.card-overlay {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 250px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    transition: transform 0.5s ease;
    border-radius: 8px;
}

    .card-overlay::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        /* dark overlay */
        z-index: 1;
        transition: background 0.3s ease;
    }

    .card-overlay h5 {
        position: relative;
        z-index: 2;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .card-overlay:hover {
        transform: scale(1.05);
    }

        .card-overlay:hover::before {
            background: rgba(0, 0, 0, 0.6);
            /* darker on hover */
        }


.section-title {
    font-weight: bold;
    font-size: 1.6rem;
    color: #004080;
    border-bottom: 3px solid goldenrod;
    padding-bottom: 5px;
}











:root {
    --dark-blue: #003f7f;
    --primary-blue: #2bb3b1;
    --white: #fff;
    --light-gray: #ccc;
    --gray-border: #444;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 40px 0 20px;
    font-family: 'Arial', sans-serif;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 10px;
        font-size: 14px;
        color: #ddd;
    }

    .footer-links a {
        color: #ccc;
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: var(--white);
        }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

    .social-links a {
        color: var(--white);
        font-size: 20px;
        transition: color 0.3s;
    }

        .social-links a:hover {
            color: var(--primary-blue);
        }

/* Bottom Links */
.bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
    border-top: 1px solid var(--gray-border);
    padding-top: 15px;
}

    .bottom-links a {
        color: #ccc;
        text-decoration: none;
    }

        .bottom-links a:hover {
            color: var(--white);
        }

/* Price Buttons */
.price-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

    .price-buttons button {
        background: transparent;
        border: 1px solid #ccc;
        color: var(--white);
        padding: 8px 15px;
        font-size: 14px;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s;
    }

        .price-buttons button:hover {
            background-color: var(--primary-blue);
            color: var(--white);
            border-color: var(--primary-blue);
        }

/* Search Bar */
.search-bar {
    display: flex;
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

    .search-bar input {
        flex: 1;
        padding: 10px 15px;
        border: none;
        outline: none;
        border-radius: 5px 0 0 5px;
        font-size: 14px;
    }

    .search-bar button {
        padding: 10px 20px;
        border: none;
        background-color: var(--primary-blue);
        color: white;
        border-radius: 0 5px 5px 0;
        cursor: pointer;
        font-weight: bold;
    }

/* Hotline */
.hotline {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

    .hotline i {
        background-color: #003f7f;
        padding: 6px;
        border-radius: 50%;
    }

/* Top Button */
#topBtn {
    position: fixed;
    bottom: 70px;
    right: 15px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    z-index: 999;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .top-header-links {
        display: none;
    }

    .hero-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
    }

    .search-input {
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .search-button {
        border-radius: 4px;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }

    .hospital-info {
        padding: 20px;
    }

    .content-section {
        padding: 20px;
    }
}
